package com.quanyan.riding.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author xian-guo
 * @email 498152332@qq.com
 * @date 2016/8/30.
 */
public class RunDateUtils {

    public static String transferDateToString(Date date){
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM");
        String str = sdf.format(date);
        return str;
    }
}
